Fix bug #14170 with window-end returning a stale value.
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 Apr 2013 16:06:47 +0000 (19:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 Apr 2013 16:06:47 +0000 (19:06 +0300)
commit616721274e5250e86111b2eb8b69ac86c4b754a7
treeefc6ebea29e1fb8362cbfa81b90053525f185d26
parent3b79d0058ff248451064915fe330842a7c5b1ad0
Fix bug #14170 with window-end returning a stale value.

This bug was introduced in rudalics@gmx.at-20121015090356-w8597jj7ne5rxyi4
while solving bug #12600.

 src/window.c (Fwindow_end): Test more flags, including the buffer's
 last_overlay_modified flag, to determine whether the window's
 display is really up-to-date.  Prevents the function from
 returning a stale value.
 (Fwindow_line_height): Fix the test for up-to-date-ness of the
 current matrix.
src/ChangeLog
src/window.c